<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


	<div class="row">
		<?php echo $form->label($model,'fecha'); ?>
		<?php 
			$this->widget('application.extensions.DateTimePicker.CJuiDateTimePicker',
				array(
					'model'=>$model,
					'attribute'=>'fecha',
					'mode'=>'date',
					'options'=>array(
								'dateFormat'=>'yy-mm-dd'
							),
					'language'=>''
				)
			);
				?>
	</div>



	<div class="row">
		<?php echo $form->label($model,'ip'); ?>
		<?php echo $form->textField($model,'ip',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'usuarios_login'); ?>
		<?php echo $form->dropDownList($model,'usuarios_login',TUtilidades::obtenerUsuarios(),array('empty'=>'--Seleccione--')); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->